Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.platform.audit.contentView.contrib--contentViews

This contribution is part of XML component org.nuxeo.platform.audit.contentView.contrib inside nuxeo-platform-audit-client-6.0.jar

Extension Point

Extension point contentViews of component ContentViewService.

Contributed Items

  • <contentView name="DOCUMENT_HISTORY">
    
          <title>label.contentview.document.history</title>
          <translateTitle>true</translateTitle>
          <showTitle>true</showTitle>
    
          <pageProvider name="DOCUMENT_HISTORY_PROVIDER">
            <property name="coreSession">#{documentManager}</property>
            <property name="generateUIComments">true</property>
            <parameter>#{currentDocument.id}</parameter>
          </pageProvider>
    
          <searchLayout filterDisplayType="quick" name="basicauditsearch"/>
          <showFilterForm>true</showFilterForm>
    
          <showPageSizeSelector>true</showPageSizeSelector>
          <useGlobalPageSize>true</useGlobalPageSize>
          <refresh>
            <event>documentChanged</event>
            <event>documentCreated</event>
            <event>documentChildrenChanged</event>
          </refresh>
          <cacheSize>10</cacheSize>
          <cacheKey>#{currentDocument.repositoryName}_#{currentDocument.id}</cacheKey>
    
          <resultLayouts>
            <layout iconPath="/icons/document_listing_icon.png" name="history_listing" showCSVExport="true" showPDFExport="false" title="history_listing" translateTitle="true"/>
          </resultLayouts>
    
        </contentView>

XML Source

<extension point="contentViews" target="org.nuxeo.ecm.platform.ui.web.ContentViewService">

    <contentView name="DOCUMENT_HISTORY">

      <title>label.contentview.document.history</title>
      <translateTitle>true</translateTitle>
      <showTitle>true</showTitle>

      <pageProvider name="DOCUMENT_HISTORY_PROVIDER">
        <property name="coreSession">#{documentManager}</property>
        <property name="generateUIComments">true</property>
        <parameter>#{currentDocument.id}</parameter>
      </pageProvider>

      <searchLayout filterDisplayType="quick" name="basicauditsearch"/>
      <showFilterForm>true</showFilterForm>

      <showPageSizeSelector>true</showPageSizeSelector>
      <useGlobalPageSize>true</useGlobalPageSize>
      <refresh>
        <event>documentChanged</event>
        <event>documentCreated</event>
        <event>documentChildrenChanged</event>
      </refresh>
      <cacheSize>10</cacheSize>
      <cacheKey>#{currentDocument.repositoryName}_#{currentDocument.id}</cacheKey>

      <resultLayouts>
        <layout iconPath="/icons/document_listing_icon.png" name="history_listing" showCSVExport="true" showPDFExport="false" title="history_listing" translateTitle="true"/>
      </resultLayouts>

    </contentView>

  </extension>